<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="layout">
<head>
    <title>年检审核管理</title>
</head>
<body>
<!--<h1 layout:fragment="header">Messages : View all</h1>-->
<div layout:fragment="content">
    <div class="box-header with-border">
        <h3 class="box-title">年检审核</h3>
    </div>
    <!-- /.box-header -->
    <!-- form start -->
    <form class="form-horizontal" role="form">
        <div class="box-body">
            <div class="form-group">
                <div class="form-group col-md-3">
                    <label for="search_name" class="col-sm-5 control-label">姓名</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_name" class="form-control" placeholder="姓名" name="search_name">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_orgType" class="col-sm-5 control-label">机构身份</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_orgType" class="form-control" name="search_orgType">
                            <option value="0">--全部--</option>
                            <option value="1">本币交易成员</option>
                            <option value="2">非本币交易成员</option>
                            <option value="3">无机构</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_org" class="col-sm-5 control-label">现任职机构</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_org" class="form-control" placeholder="现任职机构（模糊匹配）" name="search_org">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_idType" class="col-sm-5 control-label">证件类型</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_idType" class="form-control" name="search_idType">
                            <option value="0">--全部--</option>
                            <option value="1">身份证</option>
                            <option value="2">护照</option>
                            <option value="3">港澳台证件</option>
                            <option value="4">其他</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_idNum" class="col-sm-5 control-label">证件号码</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_idNum" class="form-control" placeholder="证件号码（完全匹配）" name="search_idNum">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_caNum" class="col-sm-5 control-label">资格证书号码</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_caNum" class="form-control" placeholder="证件号码（完全匹配）" name="search_caNum">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_caStat" class="col-sm-5 control-label">证书状态</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_caStat" class="form-control" name="search_caStat">
                            <option value="0">--全部--</option>
                            <option value="1">有效</option>
                            <option value="2">暂停</option>
                            <option value="3">注销</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_annualStat" class="col-sm-5 control-label">年检状态</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_annualStat" class="form-control" name="search_annualStat">
                            <option value="0">--全部--</option>
                            <option value="1">未年检</option>
                            <option value="2">待审核</option>
                            <option value="3">通过</option>
                            <option value="4">不通过</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_annualBeforeStat" class="col-sm-5 control-label">上轮年检状态</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_annualBeforeStat" class="form-control" name="search_annualBeforeStat">
                            <option value="0">--全部--</option>
                            <option value="1">未年检</option>
                            <option value="2">待审核</option>
                            <option value="3">通过</option>
                            <option value="4">不通过</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_credRec" class="col-sm-5 control-label">诚信备案</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_credRec" class="form-control" name="search_credRec">
                            <option value="0">--全部--</option>
                            <option value="1">有备案</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_birth" class="col-sm-5 control-label">出生年月</label>

                    <div class="col-xs-7 no-padding">
                        <input type="date" id="search_birth" class="form-control" placeholder="出生年月（完全匹配）" name="search_birth">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_mobile" class="col-sm-5 control-label">手机</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_mobile" class="form-control" placeholder="手机（完全匹配）" name="search_mobile">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_Email" class="col-sm-5 control-label">E-mail</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_Email" class="form-control" placeholder="E-mail（模糊匹配）" name="search_Email">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_pos" class="col-sm-5 control-label">岗位性质</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_pos" class="form-control" name="search_pos">
                            <option value="0">--全部--</option>
                            <option value="1">交易</option>
                            <option value="2">后台结算</option>
                            <option value="3">风控</option>
                            <option value="4">合规</option>
                            <option value="5">研究</option>
                            <option value="6">销售</option>
                            <option value="7">IT系统</option>
                            <option value="8">其他</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_dealType" class="col-sm-5 control-label">交易品种</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text"  id="search_dealType" class="form-control" placeholder="交易品种（模糊匹配）" name="search_dealType">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_gender" class="col-sm-5 control-label">性别</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_gender" class="form-control" name="search_gender">
                            <option value="0">--全部--</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_deptType" class="col-sm-5 control-label">部门类型</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_deptType" class="form-control" name="search_deptType">
                            <option value="0">--全部--</option>
                            <option value="1">金融市场</option>
                            <option value="2">资产管理</option>
                            <option value="3">资产负债管理</option>
                            <option value="4">中后台</option>
                            <option value="5">其他</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_dept" class="col-sm-5 control-label">部门</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_dept" class="form-control" placeholder="部门（模糊匹配）" name="search_dept">
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_dutyType" class="col-sm-5 control-label">职务类型</label>

                    <div class="col-xs-7 no-padding">
                        <select id="search_dutyType" class="form-control" name="search_dutyType">
                            <option value="0">--全部--</option>
                            <option value="1">公司领导</option>
                            <option value="2">部门领导</option>
                            <option value="3">主管</option>
                            <option value="4">交易员</option>
                            <option value="5">其他</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-3">
                    <label for="search_duty" class="col-sm-5 control-label">职务</label>

                    <div class="col-xs-7 no-padding">
                        <input type="text" id="search_duty" class="form-control" placeholder="职务（模糊匹配）" name="search_duty">
                    </div>
                </div>
                <div class="form-group col-md-3 right-button" style="padding-left: 5%">
                    <button onclick="searchBtn()" type="button" class="btn btn-danger right-button">查询</button>
                </div>
            </div>
        </div>
    </form>
    <div class="box-body">
        <!--<div class="btn-group">-->
            <!--<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">-->
                <!--发送-->
                <!--<span class="caret"></span>-->
            <!--</a>-->
            <!--<ul class="dropdown-menu">-->
                <!--<li><a onclick="searchBtn()" value="1">发送短信</a></li>-->
                <!--<li><a onclick="searchBtn()" value="2">发送邮件</a></li>-->
            <!--</ul>-->
        <!--</div>-->
        <div class="btn-group">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                短信操作
                <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
                <li><a onclick="MsgSMS()">群发短信</a></li>
                <li><a onclick="ResTempSMS()">短信回复导出</a></li>
            </ul>
            <!--<button onclick="addBtn()" type="button" class="btn btn-success right-button">添加</button>-->
        </div>
        <div class="btn-group">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                批量操作
                <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
                <li><a onclick="processMore($(this).val())" value="1">删除</a></li>
                <li><a onclick="processMore($(this).val())" value="2">通过</a></li>
                <li><a onclick="processMore($(this).val())" value="3">不通过</a></li>
            </ul>
        </div>
        <div class="btn-group">
            <button onclick="annualInitial($(this).val())" type="button" value="4" class="btn btn-danger right-button">年检初始化</button>
        </div>
        <div class="btn-group">
            <button onclick="annualInitial($(this).val())" type="button" value="5" class="btn btn-danger right-button">年检结束</button>
        </div>
        <div class="btn-group">
            <button onclick="annualImport()" type="button" class="btn btn-danger right-button">年检导入</button>
        </div>
        <div class="btn-group">
            <button onclick="exportAnnual()" type="button" class="btn btn-danger right-button">年检导出</button>
        </div>
        <div class="btn-group">
            <button onclick="exportExcel()" type="button" class="btn btn-danger right-button">E-mail导出</button>
        </div>
        <div class="btn-group">
            <button onclick="EmailModal()" type="button" class="btn btn-danger right-button">发送Email</button>
        </div>
        <table id="annualTable" class="table table-bordered table-striped">
            <thead>
            <tr>
                <th>序号</th>
                <th><input type="checkbox" value="ctrlTab_box" onclick="ctrlTab_box()"></th>
                <th>微信号</th>
                <th>资格证书号码</th>
                <th>姓名</th>
                <th>性别</th>
                <th>出生年月</th>
                <th>证件类型</th>
                <th>证件号码</th>
                <th>手机</th>
                <th>E-mail</th>
                <th>机构身份</th>
                <th>现任职机构</th>
                <th>年检状态</th>
                <th>上轮年检状态</th>
                <th>证书状态</th>
                <th>QQ</th>
                <th>部门类型</th>
                <th>部门</th>
                <th>职务类型</th>
                <th>职务</th>
                <th>岗位性质</th>
                <th>交易品种</th>
                <th>办公电话</th>
                <th>诚信备案</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody></tbody>
        </table>
    </div>
    <div class="modal" id="AnnualInformModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">修改年检基础信息</h3>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="editFrom">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="add_name" class="col-sm-2 control-label">姓名</label>

                                <div class="col-sm-10">
                                    <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
                                    <input type="text" class="form-control" id="add_name" data-rule="required(姓名必须填写)"name="name" placeholder="姓名">
                                    <input type="hidden" id="id" name="id">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_sex" class="col-sm-2 control-label">性别</label>

                                <div class="col-sm-10">
                                    <select id="add_sex" class="form-control" name="sex">
                                        <option value="0">全部</option>
                                        <option value="1">男</option>
                                        <option value="2">女</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_birth" class="col-sm-2 control-label">出生年月</label>
                                <div class="col-sm-10">
                                    <input type="date" class="form-control" id="add_birth" data-rule="required(生日必须填写)" name="birth_date" placeholder="出生年月">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_idType" class="col-sm-2 control-label">证件类型</label>

                                <div class="col-sm-10">
                                    <select id="add_idType" class="form-control" name="id_type" onfocus="this.defaultIndex=this.selectedIndex;" onchange="this.selectedIndex=this.defaultIndex;">
                                        <option value="0">全部</option>
                                        <option value="1">身份证</option>
                                        <option value="2">护照</option>
                                        <option value="3">港澳台证件</option>
                                        <option value="4">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_idNum" class="col-sm-2 control-label">证书号码</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_idNum" data-rule="required(证书号码必须填写)" name="id_num" readonly="readonly" placeholder="证件号码">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_caNum" class="col-sm-2 control-label">资格证书号码</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_caNum" data-rule="required(资格证书号码必须填写)" name="ca_num" placeholder="资格证书号码">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_mobile" class="col-sm-2 control-label">手机</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_mobile" data-rule="required(手机必须填写)" name="mobile" placeholder="手机">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_degree" class="col-sm-2 control-label">学位</label>
                                <div class="col-sm-10">
                                    <select id="add_degree" class="form-control" name="degree">
                                        <option value=" "></option>
                                        <option value="学士">学士</option>
                                        <option value="硕士">硕士</option>
                                        <option value="博士">博士</option>
                                        <option value="其他">其他</option>
                                    </select>
                                    <!--<input type="text" class="form-control" id="add_degree" data-rule="required(学位必须填写)" name="degree" placeholder="学位">-->
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_highestEdu" class="col-sm-2 control-label">最高学历</label>
                                <div class="col-sm-10">
                                    <select id="add_highestEdu" class="form-control" name="highest_edu" >
                                        <option value=" "></option>
                                        <option value="专科">专科</option>
                                        <option value="本科">本科</option>
                                        <option value="硕士研究生">硕士研究生</option>
                                        <option value="博士研究生">博士研究生</option>
                                        <option value="其他">其他</option>
                                    </select>
                                    <!--<input type="text" class="form-control" id="add_highestEdu" data-rule="required(最高学历必须填写)" name="highest_edu" placeholder="最高学历">-->
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_highestSch" class="col-sm-2 control-label">最高学历学校</label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control" id="add_highestSch" name="highest_sch" placeholder="最高学历学校">
                                </div>
                                <button id="otherSch" type="button" class="btn right-button">其他</button>
                            </div>
                            <script th:inline="javascript">
                                $( function() {
                                    var schools = [[${schools}]]
                                    //根据source（数组）和输入的值动态显示提示
                                    $("#add_highestSch").autocomplete({
                                        source: schools
                                    });
                                    $("#otherSch").on("click",function (e) {
                                        var $item = $("#add_highestSch");
                                        if($(this).hasClass('btn-warning')){
                                            $item.autocomplete({
                                                source: schools
                                            });
                                            $(this).removeClass('btn-warning')
                                        }else {
                                            $item.unbind('blur');
                                            $(this).addClass('btn-warning')
                                        }
                                    })
                                });
                            </script>
                            <div class="form-group">
                                <label for="add_major" class="col-sm-2 control-label">专业</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_major" name="major" placeholder="专业">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_gradDate" class="col-sm-2 control-label">毕业时间</label>
                                <div class="col-sm-10">
                                    <input type="date" class="form-control" id="add_gradDate" data-rule="required(毕业时间必须填写)" name="graduate_date" placeholder="毕业时间">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_orgName" class="col-sm-2 control-label">现任职机构</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" id="add_orgName" name="org_name" placeholder="现任职机构" readonly="readonly">
                                </div>
                                <div class="col-sm-5">
                                    <select id="otherOrg" class="form-control">
                                        <option value="0"></option>
                                        <option value="1">本币交易成员</option>
                                        <option value="2">非本币交易成员</option>
                                        <option value="3">无机构</option>
                                    </select>
                                </div>
                            </div>
                            <script th:inline="javascript">
                                $( function() {
                                    var orgs = [[${schools}]]//后台数据没来还
                                    //根据source（数组）和输入的值动态显示提示
                                    $("#otherOrg").on("change",function (e) {
                                        var $item = $("#add_orgName");
                                        if($(this).val() == 1){
                                            $item.val("");
                                            $item.autocomplete({
                                                source: orgs
                                            });
                                            $item.removeAttr("readonly");
                                        }else if($(this).val() == 2){
                                            $item.val("");
                                            $item.unbind('blur');
                                            $item.removeAttr("readonly");
                                        }else if($(this).val() == 3){
                                            $item.val("无机构");
                                            $item.unbind('blur');
                                            $item.attr("readonly","readonly");
                                        }else if($(this).val() == 0){
                                            $item.val("");
                                            $item.unbind('blur');
                                            $item.attr("readonly","readonly");
                                        }
                                    })
                                });
                            </script>
                            <div class="form-group">
                                <label for="add_depType" class="col-sm-2 control-label">部门类型</label>

                                <div class="col-sm-10">
                                    <select id="add_depType" class="form-control" name="dept_type">
                                        <option value="0">全部</option>
                                        <option value="1">金融市场</option>
                                        <option value="2">资产管理</option>
                                        <option value="3">资产负债管理</option>
                                        <option value="4">中后台</option>
                                        <option value="5">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group" id="dept">
                                <label for="add_dept" class="col-sm-2 control-label">部门</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_dept" name="dept" placeholder="部门">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_position" class="col-sm-2 control-label">岗位</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_position" name="position" placeholder="岗位">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_posType" class="col-sm-2 control-label">岗位性质</label>

                                <div class="col-sm-10">
                                    <select id="add_posType" class="form-control" name="pos_type">
                                        <option value="0">全部</option>
                                        <option value="1">交易</option>
                                        <option value="2">后台结算</option>
                                        <option value="3">风控</option>
                                        <option value="4">合规</option>
                                        <option value="5">研究</option>
                                        <option value="6">销售</option>
                                        <option value="7">IT系统</option>
                                        <option value="8">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_dealType" class="col-sm-2 control-label">交易品种</label>

                                <div class="col-sm-10">
                                    <input type="text" id="add_dealType" class="form-control" name="deal_type"  placeholder="交易品种">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_dutType" class="col-sm-2 control-label">职务类型</label>

                                <div class="col-sm-10">
                                    <select id="add_dutType" class="form-control" name="duty_type">
                                        <option value="0">全部</option>
                                        <option value="1">公司领导</option>
                                        <option value="2">部门领导</option>
                                        <option value="3">主管</option>
                                        <option value="4">交易员</option>
                                        <option value="5">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_duty" class="col-sm-2 control-label">职务</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_duty" name="duty" placeholder="职务">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_phone" class="col-sm-2 control-label">办公电话</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_phone" name="phone" placeholder="办公电话">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_email" class="col-sm-2 control-label">E-mail</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_email" name="e_mail" placeholder="E-mail">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_qq" class="col-sm-2 control-label">QQ</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_qq" name="qq" placeholder="qq">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_fax" class="col-sm-2 control-label">传真</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_fax" name="fax" placeholder="传真">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_orgAddr" class="col-sm-2 control-label">机构地址</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_orgAddr" name="org_addr" placeholder="机构地址">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_postcode" class="col-sm-2 control-label">邮编</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_postcode" name="postcode" placeholder="邮编">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn" onclick="editWorkExp()">工作经历详情</button>
                    <button class="btn btn-primary" onclick="modal_sub()">
                        确认
                    </button>
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <!-- /.modal2 -->
    <div class="modal" id="WorkExp">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">创建与修改工作经历</h3>
                </div>
                <div id="workExpGrp" class="modal-body">
                    <form class="form-horizontal" id="AddWorkExpFrom">
                        <div class="box-body">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">工作经历</label>
                                <div class="col-sm-10">
                                    <input type="hidden" id="modelIdNum" name="id_num">
                                    <input type="hidden" id="id2" name="id">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_startDate" class="col-sm-2 control-label">开始时间</label>
                                <div class="col-sm-10">
                                    <input type="date" class="form-control" id="add_startDate" data-rule="required(开始时间必须填写)" name="start_date" placeholder="开始时间">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_finalDate" class="col-sm-2 control-label">截止时间</label>
                                <div class="col-sm-10">
                                    <input type="date" class="form-control" id="add_finalDate" name="final_date" placeholder="截止时间（不填代表至今）">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_orgFullname" class="col-sm-2 control-label">机构全称</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_orgFullname" name="org_fullname" placeholder="机构全称">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_department" class="col-sm-2 control-label">所属部门</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_department" name="department" placeholder="所属部门">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_business" class="col-sm-2 control-label">从事业务</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_business" name="business" placeholder="从事业务">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="add_job" class="col-sm-2 control-label">职务</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="add_job" name="job" placeholder="职务">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn" onclick="add_workExp()">
                        添加+
                    </button>
                    <button class="btn btn-primary" onclick="workExp_sub()">
                        保存
                    </button>
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <!-- /.modalImport -->
    <div id="annual-modal-form" class="modal" tabindex="-1" aria-hidden="true" style="display: none;">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h4 class="blue bigger">年检导入</h4>
                </div>
                <form action="../../admin/annual/import" id="annualFileForm" method="post" enctype="multipart/form-data">
                    <div class="modal-body">
                        <fieldset>
                            <div class="form-group">
                                <label class="col-sm-3 control-label no-padding-right">导入文件：</label>
                                <div class="">
                                    <input type="file" id="importAnnualFile" name="annualFile"/>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                    <div class="modal-footer">
                        <button type="reset" class="btn btn-sm" data-dismiss="modal">
                            <i class="ace-icon fa fa-times"></i>
                            返回
                        </button>
                        <button type="button" onclick="submitAnnualFile()" class="btn btn-sm btn-primary">
                            <i class="ace-icon fa fa-check"></i>
                            提交
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- /.modalDetail -->
    <div class="modal" id="AnnualInformDetailModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">年检详情</h3>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="showFrom">
                        <div class="box-body">
                            <div class="form-group">
                                <p class="col-sm-2 ">姓名:</p>
                                <p class="col-md-4" id="show_name">l</p>
                                <p class="col-sm-2 ">性别:</p>
                                <p id="show_sex" class="col-md-4">l</p>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <div class="modal" id="MsgSMS">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">编辑短信文本</h3>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="SMSForm">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="SendGrp" class="col-sm-2 control-label">发送群组：</label>
                                <div class="col-md-4">
                                    <input class="form-control" type="text" id="SendGrp" name="SendGrp" placeholder="发送群组">
                                </div>
                                <label for="tempNo" class="col-sm-2 control-label">短信模板号：</label>
                                <div class="col-md-4">
                                    <input class="form-control" type="text" id="tempNo" name="tempNo" placeholder="短信模板号">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SMSPara1" class="col-sm-2 control-label">参数1：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="SMSPara1" name="SMSPara1" placeholder="参数1">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SMSPara2" class="col-sm-2 control-label">参数2：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="SMSPara2" name="SMSPara2" placeholder="参数2">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SMSPara3" class="col-sm-2 control-label">参数3：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="SMSPara3" name="SMSPara3" placeholder="参数3">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SMSPara4" class="col-sm-2 control-label">参数4：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="SMSPara4" name="SMSPara4" placeholder="参数4">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SMSPara5" class="col-sm-2 control-label">参数5：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="SMSPara5" name="SMSPara5" placeholder="参数5">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" onclick="MsgSMS_sub()">
                        确认
                    </button>
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <div class="modal" id="MailModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">编辑邮件文本</h3>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="MailForm">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="MailSender" class="col-sm-2 control-label"> 发送者： </label>
                                <input type="text" id="MailSender" name="Sender" value="shenyichou_zh"><a>@chinamoney.com.cn</a>
                                <label for="MailReciever" class="col-sm-2 control-label"> 接收者： </label>
                                <input type="text" id="MailReciever" name="Receiver">
                            </div>
                            <div class="form-group">
                                <label for="Subject" class="col-sm-2 control-label"> 邮件主题：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="Subject" name="Subject">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="MailMsg" class="col-sm-2 control-label"> 发送内容：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="MailMsg" name="MailMsg">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label no-padding-right"> 导入附件：</label>
                                <div class="">
                                    <input type="file" id="attachment" name="attachment"/>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" onclick="sendEmail()">
                        确认
                    </button>
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <div class="modal" id="ResSMS">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">短信回复导出模板</h3>
                </div>
                <div class="modal-body">
                    <label for="ResTemp" class="col-sm-2 control-label"> 短信回复导出模板： </label>
                    <input type="text" id="ResTemp">
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" onclick="ResTemp_sub()">
                        确认
                    </button>
                    <button class="btn btn-warning" data-dismiss="modal">退出</button>
                </div>
            </div>
        </div><!-- /.modal -->
    </div>
    <script src="../../static/js/bootstrap.autocomplete.js"></script>
    <script src="../../static/js/pages/annualInform.js"></script>

</div>
</body>
</html>